package custom.po;

import org.apache.ibatis.annotations.Flush;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import javax.websocket.server.PathParam;

public class Student extends Person implements Teacher,Father{
	private static  String school;
	private String name;
	private String sex ;
	private String address;


	public static void setSchool(String school) {
		Student.school = school;
	}

	private Student(){

	}
	public Student(String name) {
		this.name = name;
	}

	public Student(String sex, String address) {
		this.sex = sex;
		this.address = address;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Select({"vdsa","sad"})
	public void study(@Param("sdf") String name, Object kecheng,Integer age){
		System.out.println(name+"学习了:"+kecheng.toString());
	}

	public String sayHello(String othername,Integer age){
		return othername+":你好";
	}

	@Override
	public Integer testHigh(Integer high) {
		return super.testHigh(high);
	}

	@Override
	public void ouDa(String daoju) {

	}

	@Override
	public String dianMing(String name) {
		return this.name+name;
	}
}
